package com.ganyu.service;

import com.ganyu.domain.ResponseResult;
import com.ganyu.domain.entity.User;
import com.ganyu.domain.vo.AdminUserInfoVo;
import com.ganyu.domain.vo.RoutersVo;


/**
 * DATA: 2022/9/28
 * Author: 晨夕
 */
public interface AdminLoginService {
    //用户登录
    ResponseResult<User> login(User user);

    //获取用户菜单、角色名、个人信息
    ResponseResult<AdminUserInfoVo> getUserInfo();

    //获取菜单
    ResponseResult<RoutersVo> getRouters();

    //用户退出
    ResponseResult logout();
}
